package com.origin.app

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import kotlinx.android.synthetic.main.activity_text_utils.*

class TextUtilsActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_text_utils)
        setHotText();
    }

    private fun setHotText() {
        val list = arrayListOf<String>("小","你")
        val con = "你好中小"
        ed.setText(com.origin.utils.text.TextUtils.setHotText(con, list))
    }
}